package org.geektime.task.sbcachemanager.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "geektime.cache")
public class CacheConfigProperty {

    private String cacheIp;

    private String cachePort;

    public String getCacheIp() {
        return cacheIp;
    }

    public void setCacheIp(String cacheIp) {
        this.cacheIp = cacheIp;
    }

    public String getCachePort() {
        return cachePort;
    }

    public void setCachePort(String cachePort) {
        this.cachePort = cachePort;
    }
}
